<?php

class WebUser extends CWebUser{
	
	private $_model;
	
	function getFirst_Name(){
    	$user = $this->loadUser(Yii::app()->user->id);
    	return $user->organizacion_id;
 	}
	
 	
 	protected function loadUser($id=null)
    {
        if($this->_model===null)
        {
            if($id!==null)
                $this->_model=User::model()->findByPk($id);
        }
        
        return $this->_model;
    }
 	
	
}
?>